﻿using DevFramework.Entities.Concrete;
using FluentNHibernate.Mapping;

namespace DevFramework.DataLayer.Concrete.NHibernate.Mapping
{
    public class OrderSalesMap : ClassMap<OrderSales>
    {
        public OrderSalesMap()
        {
            ReadOnly();

            Table("YillaraGoreSatis");

            Id().Column("Id");

            Map(x => x.ProductName);

            Map(x => x.CategoryName);

            Map(x => x.Year);

            Map(x => x.Quantity);
        }
    }
}
